from common.Utils import BlogDriver
from tests import BlogLogin
from tests import BlogList
from tests import BlogDetail
from tests import BlogEdit

if __name__=="__main__":
    BlogLogin.BlogLogin().LoginFailTest()
    BlogLogin.BlogLogin().LoginSucTest()
    #登陆成功之后,就可以调用问卷首页测试首页的用例(登陆状态)
    BlogList.BlogList().ListTestByLogin()
    BlogDetail.BlogDetail().DetailTestByLogin()

    #问卷编辑页面
    BlogEdit.BlogEdit.EditSucTestByLogin()
    #指定浏览器的退出
    BlogDriver.driver.quit()